/*
 * @Description:
 * @Version:
 * @Author: Troubadour
 * @Date: 2023-01-17 20:30:53
 * @LastEditors: Troubadour
 * @LastEditTime: 2023-01-20 11:44:38
 */

#ifndef  __TFT_GUI_H__
#define  __TFT_GUI_H__

#include "tft_1_3.h"
#include "tft_image.h"


void TFT_GUI_Clear(uint16_t color);
void TFT_GUI_DrawPoint(uint16_t x, uint16_t y, uint16_t color);
void TFT_GUI_Full(uint16_t xsta, uint16_t ysta, uint16_t xend, uint16_t yend, uint16_t color);
void TFT_GUI_DrawLine(uint16_t xsta, uint16_t ysta, uint16_t xend, uint16_t yend, uint16_t color);
void TFT_GUI_DrawRectangle(uint16_t xsta, uint16_t ysta, uint16_t xend, uint16_t yend, uint16_t color);
void TFT_GUI_DrawCircle(uint16_t x0, uint16_t y0, uint16_t r, uint16_t color);
void TFT_ShowChar(uint16_t x, uint16_t y, uint8_t ch, uint8_t mode, uint16_t color);
void TFT_ShowNum(uint16_t x, uint16_t y, uint32_t num, uint8_t len, uint16_t color);
void TFT_ShowChar64(uint16_t x, uint16_t y, uint8_t num, uint16_t color);
void TFT_ShowNumber64(uint16_t x, uint16_t y, uint32_t num, uint8_t len, uint16_t color);
void TFT_ShowString(uint16_t x, uint16_t y, const uint8_t *p, uint16_t color);
void TFT_ShowString(uint16_t x, uint16_t y, const uint8_t *p, uint16_t color);
void TFT_ShowImage(uint16_t x, uint16_t y, const uint8_t *image);

#endif  /* __TFT_GUI_H__ */

